<table class="table table-striped table-bordered">
	<tr>
		<th>Kategori</th>
		<th>Alias</th>
		<th>Hastag</th>
		<th>Deskripsi</th>
		<th width="100px">Actions</th>
	</tr>

	<?php foreach ($paginator['query'] as $cat_rec): ?>		
		<tr>
			<td><?php echo $cat_rec['jonu_category_name'] ?></td>
			<td><?php echo $cat_rec['jonu_category_alias'] ?></td>
			<td><?php echo $cat_rec['jonu_category_hastag'] ?></td>
			<td><?php echo $cat_rec['jonu_category_desc'] ?></td>
			<td align="center">
				<a class="act-edit" href="<?php echo site_url("mimin_jonu/editcategory/".$cat_rec['jonu_category_id']) ?>"><i class="fa fa-pencil"></i></a>
				<a class="act-delete" href="<?php echo site_url("mimin_jonu/deletecategory/".$cat_rec['jonu_category_id']) ?>"><i class="fa fa-trash-o"></i></a>
			</td>
		</tr>		
	<?php endforeach; ?>
	<?php if(count($paginator['query']) == 0): ?>
		<tr>
			<td align="center" colspan="3">Category list is empty</td>
		</tr>
	<?php endif; ?>

</table>
<div id="adm-pagination">
	<?php echo $paginator['halaman'] ?>
	<span id="tot-item"><?php echo "Total: ".$paginator['total']." Categories" ?></span>
</div>